package cn.liutao.order.service;

import cn.liutao.common.utils.ServletUtils;
import cn.liutao.order.mapper.OrderBillMapper;

/**
 *  服务层实现。
 *
 * @author liutao
 * @since 2023-11-02
 */

public class OrderBillService{
    private static volatile OrderBillService instance;
    private OrderBillMapper orderBillMapper;

    private OrderBillService(){
        orderBillMapper = ServletUtils.getMapper(OrderBillMapper.class);
    }

    static {
        if (instance==null){
            synchronized (OrderBillService.class){
                if (instance==null){
                    instance = new OrderBillService();
                }
            }
        }
    }

}
